<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class MySQLDump</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class MySQLDump</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Dump MySQL database</p>
<p class="description"><p>Here is an inline example:  <div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-var">$connection&nbsp;</span>=&nbsp;<span class="src-sym">@</span><a href="http://www.php.net/mysql_connect">mysql_connect</a><span class="src-sym">(</span><span class="src-var">$dbhost</span><span class="src-sym">,</span><span class="src-var">$dbuser</span><span class="src-sym">,</span><span class="src-var">$dbpsw</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-var">$dumper&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><a href="../MySQLService/MySQLDump.html#methodMySQLDump">MySQLDump</a><span class="src-sym">(</span><span class="src-var">$dbname</span><span class="src-sym">,</span><span class="src-str">'filename.sql'</span><span class="src-sym">,</span><span class="src-id">false</span><span class="src-sym">,</span><span class="src-id">false</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-var">$dumper</span><span class="src-sym">-&gt;</span><a href="../MySQLService/MySQLDump.html#methoddoDump">doDump</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></div></p></p>
		<p class="notes">
			Located in <a class="field" href="_MySQLDump.php.html">/MySQLDump.php</a> (line <span class="field"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a13">13</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$compress" title="details" class="var-name">$compress</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$database" title="details" class="var-name">$database</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$file" title="details" class="var-name">$file</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$filename" title="details" class="var-name">$filename</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$hexValue" title="details" class="var-name">$hexValue</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$isWritten" title="details" class="var-name">$isWritten</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																				
												<div class="method-definition">
											<span class="method-result">MySQLDump</span>
										<a href="#MySQLDump" title="details" class="method-name">MySQLDump</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$db</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$filepath</span> = <span class="var-default">'dump.sql'</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$compress</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#closeFile" title="details" class="method-name">closeFile</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$file</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#doDump" title="details" class="method-name">doDump</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#getCompress" title="details" class="method-name">getCompress</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getDatabase" title="details" class="method-name">getDatabase</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getDatabaseData" title="details" class="method-name">getDatabaseData</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$hexValue</span> = <span class="var-default">true</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#getDatabaseStructure" title="details" class="method-name">getDatabaseStructure</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getOutputFile" title="details" class="method-name">getOutputFile</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getSqlKeysTable" title="details" class="method-name">getSqlKeysTable</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$table</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getTableData" title="details" class="method-name">getTableData</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$table</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getTableStructure" title="details" class="method-name">getTableStructure</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$table</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#isTextValue" title="details" class="method-name">isTextValue</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$field_type</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#openFile" title="details" class="method-name">openFile</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$filename</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#saveToFile" title="details" class="method-name">saveToFile</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$file</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$data</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setCompress" title="details" class="method-name">setCompress</a>
											(<span class="var-type">boolean</span>&nbsp;<span class="var-name">$compress</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setDatabase" title="details" class="method-name">setDatabase</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$db</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setOutputFile" title="details" class="method-name">setOutputFile</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filepath</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#writeDump" title="details" class="method-name">writeDump</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$filename</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$compress" id="$compress"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$compress</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a16">16</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$database" id="$database"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$database</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a15">15</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$file" id="$file"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$file</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a19">19</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$filename" id="$filename"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$filename</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a18">18</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$hexValue" id="$hexValue"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$hexValue</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a17">17</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$isWritten" id="$isWritten"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$isWritten</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a20">20</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodMySQLDump" id="MySQLDump"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor MySQLDump</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a28">28</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Class constructor</p>
	
	<div class="method-signature">
		<span class="method-result">MySQLDump</span>
		<span class="method-name">
			MySQLDump
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$db</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$filepath</span> = <span class="var-default">'dump.sql'</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$compress</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$db</span><span class="var-description">: The database name</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filepath</span><span class="var-description">: The file where the dump will be written</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$compress</span><span class="var-description">: It defines if the output file is compress (gzip) or not</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcloseFile" id="closeFile"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">closeFile</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a394">394</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			closeFile
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$file</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$file</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddoDump" id="doDump"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">doDump</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a246">246</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Writes to file the selected database dump</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			doDump
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetCompress" id="getCompress"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getCompress</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a72">72</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns if the output file is or not compressed</p>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			getCompress
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetDatabase" id="getDatabase"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getDatabase</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a51">51</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the database where the class is working on</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getDatabase
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetDatabaseData" id="getDatabaseData"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getDatabaseData</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a233">233</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Writes to file all the selected database tables data</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getDatabaseData
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$hexValue</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$hexValue</span><span class="var-description">: It defines if the output is base-16 or not</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetDatabaseStructure" id="getDatabaseStructure"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getDatabaseStructure</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a218">218</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Writes to file all the selected database tables structure</p>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			getDatabaseStructure
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetOutputFile" id="getOutputFile"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getOutputFile</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a93">93</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the output filename</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getOutputFile
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetSqlKeysTable" id="getSqlKeysTable"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getSqlKeysTable</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a270">270</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getSqlKeysTable
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$table</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$table</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetTableData" id="getTableData"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getTableData</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a147">147</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Writes to file the $table's data</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getTableData
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$table</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$table</span><span class="var-description">: The table name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetTableStructure" id="getTableStructure"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getTableStructure</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a102">102</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Writes to file the $table's structure</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getTableStructure
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$table</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$table</span><span class="var-description">: The table name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodisTextValue" id="isTextValue"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">isTextValue</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a347">347</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			isTextValue
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$field_type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$field_type</span>			</li>
				</ul>
		
			
	</div>
<a name="methodopenFile" id="openFile"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">openFile</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a371">371</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			openFile
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$filename</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$filename</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsaveToFile" id="saveToFile"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">saveToFile</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a383">383</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			saveToFile
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$file</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$data</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$file</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$data</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetCompress" id="setCompress"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setCompress</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a60">60</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the output file type (It can be made only if the file hasn't been already written)</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setCompress
		</span>
					(<span class="var-type">boolean</span>&nbsp;<span class="var-name">$compress</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$compress</span><span class="var-description">: If it's true, the output file will be compressed</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetDatabase" id="setDatabase"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setDatabase</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a40">40</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the database to work on</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setDatabase
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$db</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$db</span><span class="var-description">: The database name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetOutputFile" id="setOutputFile"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setOutputFile</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a81">81</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the output file</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setOutputFile
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filepath</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filepath</span><span class="var-description">: The file where the dump will be written</span>			</li>
				</ul>
		
			
	</div>
<a name="methodwriteDump" id="writeDump"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">writeDump</span> (line <span class="line-number"><a href="../__filesource/fsource_MySQLService__MySQLDump.php.html#a259">259</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">deprecated:</span> Look at the doDump() method</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			writeDump
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$filename</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$filename</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Fri, 20 Feb 2009 22:08:34 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>